#ifndef Rook_H
#define Rook_H

#include "Pieces.h"

class Rook : public Piece
{
public:
    Rook(PieceType type, int row, int col, bool isRed);
    ~Rook() = default;

    // 实现车的移动规则
    bool is_valid_move(int to_row, int to_col, PieceType board[9][10]) override;
};

#endif